Ext.define('AM.model.RateModel', {
		  extend: 'Ext.data.Model',
		  alias : 'widget.rateModel',
		  fields:[
		  			{ name: 'id',      type:'int'},
					{ name: 'department',  type: 'string',mapping:'department.name' },
				    { name: 'employee', type: 'string',mapping:'employee.name'},
				    { name: 'date', type: 'string' },
				    { name: 'grade', type: 'number' },
				    { name: 'workday', type: 'number' },
				    { name: 'actualworkday', type: 'number' }
				    
				 ]
 });